package param.syn;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicrequest;
import param.pub.ShareResponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "vehiclesynrequest")
public class VehicleSynRequest extends ShareResponse {

	private Publicrequest publicrequest;

	private List<Vehicleinfo> vehicles;

	@XmlElement(name = "publicrequest")
	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

	@XmlElementWrapper(name = "vehicles")
	@XmlElement(name = "vehicle")
	public List<Vehicleinfo> getVehicles() {
		return vehicles;
	}

	public void setVehicles(List<Vehicleinfo> vehicles) {
		this.vehicles = vehicles;
	}
}
